var myscript;

myscript = (function() {
  function myscript() {}

  myscript.prototype.start = function() {};

  return myscript;

})();

myscript = new myscript;

myscript.start();


